<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>图片验证码</title>
</head>
<body>
    <span th:text="${msg}"></span>
    <form method="post" action="/index">
        验证码: <input type="text" name="vrifyCode">
        <img src="/defaultKaptcha" onclick="this.src='/defaultKaptcha?d='+new Date()*1">
        <br/>
        <input type="submit" value="登录">
    </form>
</body>
</html>